Skip to content

fix(integrations): Auto-wrap root gen_ai spans for openai, cohere, langgraph, huggingface_hub#6285

Merged
constantinius merged 1 commit into
masterfrom
constantinius/fix/gen-ai-auto-transaction-wrap
May 18, 2026
Merged

fix(integrations): Auto-wrap root gen_ai spans for openai, cohere, langgraph, huggingface_hub#6285
constantinius merged 1 commit into
masterfrom
constantinius/fix/gen-ai-auto-transaction-wrap

Conversation

@constantinius
Copy link
Copy Markdown
Contributor

Description

Use get_start_span_function uniformly across the AI integrations. Temporary until we rework it for span-streaming.

Issues

@constantinius constantinius requested a review from a team as a code owner May 18, 2026 12:54
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 18, 2026

TET-2355

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 18, 2026

Codecov Results 📊

282 passed | Total: 282 | Pass Rate: 100% | Execution Time: 50.54s

All tests are passing successfully.

✅ Patch coverage is 84.62%. Project has 15040 uncovered lines.

Files with missing lines (4)
File Patch % Lines
langgraph.py 5.24% ⚠️ 217 Missing
openai.py 90.45% ⚠️ 66 Missing and 74 partials
cohere.py 88.10% ⚠️ 15 Missing and 14 partials
huggingface_hub.py 96.70% ⚠️ 6 Missing and 23 partials

Generated by Codecov Action

Comment thread sentry_sdk/integrations/langgraph.py
@constantinius constantinius merged commit b6c2b16 into master May 18, 2026
156 checks passed
@constantinius constantinius deleted the constantinius/fix/gen-ai-auto-transaction-wrap branch May 18, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants